<div class="bglist">
	<div class="bglistq">
		<table cellspacing="1" cellpadding="6" class="tlist">
			<tr>
				<th>Id</th>
				<th>Klient</th>
				<th>Cena</th>
				<th>Data założenia</th>
				<th>Email</th>
				<th>Opłacone?</th>
				<th>Wysłane?</th>
				<th colspan="3">Akcje</th>
			</tr>
			<?php foreach( $this->list as $item ) { ?>
			<tr>
				<td><?php echo $item['tr_id'] ?></td>
				<td><?php echo $item['first_name'].' '.$item['last_name'] ?></td>
				<td><?php echo $item['amount'].' '.$item['waluta'] ?></td>
				<td><?php echo $item['date_add']?></td>
				<td><?php echo $item['email']?></td>
				<td><?php echo $item['paid']?></td>
				<td><?php echo $item['send']?></td>
				<td><a href="<?php echo $this->baseUrl() ?>/cptransactions/show/id/<?php echo $item['tr_id'] ?>" class="edit">Szczególy</a></td>
				<td><a href="<?php echo $this->baseUrl() ?>/cptransactions/paid/id/<?php echo $item['tr_id'] ?>" class="edit">Opłać</a></td>
				<td><a href="<?php echo $this->baseUrl() ?>/cptransactions/send/id/<?php echo $item['tr_id'] ?>" class="edit">Wyślij</a></td>
			</tr>
			<?php } ?>
		</table>
	</div>
</div>
<?php  echo $this->render('global/pager.phtml'); ?>